<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh" xml:lang="zh" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Tool Mentor: 使用 Rational Rose 构造用例模型</title>
<meta name="uma.type" content="ToolMentor">
<meta name="uma.name" content="structure_use_case_model_tm">
<meta name="uma.presentationName" content="使用 Rational Rose 构造用例模型">
<meta name="uma.category" content="Tool:rup_rose_classic:Rational Rose">
<meta name="element_type" content="tool_mentor">
<meta name="tool" content="Rational Rose">
<meta name="filetype" content="description">
<meta name="role" content="">
<link rel="StyleSheet" href="./../../../css/default.css" type="text/css">
<script src="./../../../scripts/ContentPageResource.js" type="text/javascript" language="JavaScript"></script><script src="./../../../scripts/ContentPageSection.js" type="text/javascript" language="JavaScript"></script><script src="./../../../scripts/ContentPageSubSection.js" type="text/javascript" language="JavaScript"></script><script src="./../../../scripts/ContentPageToolbar.js" type="text/javascript" language="JavaScript"></script><script src="./../../../scripts/contentPage.js" type="text/javascript" language="JavaScript"></script><script type="text/javascript" language="JavaScript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=null;
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"></div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="pageTitle" nowrap="true">Tool Mentor: 使用 Rational Rose 构造用例模型</td><td width="100%">
<div align="right" id="contentPageToolbar"></div>
</td><td width="100%" class="expandCollapseLink" align="right"><a name="mainIndex" href="./../../../index.htm"></a><script language="JavaScript" type="text/javascript" src="./../../../scripts/treebrowser.js"></script></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="pageTitleSeparator"><img src="./../../../images/shim.gif" alt="" title="" height="1"></td>
</tr>
</table>
<div class="overview">
<table width="97%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50"><img src="./../../../images/toolmentor.gif" alt="" title=""></td><td>
<table class="overviewTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">此工具向导描述如何使用 Rational Rose 记录参与者与用例之间的关系。</td>
</tr>
<tr>
<td>Tool: <a href="./../../../rup/tools/rup_rose_classic_20F2524D.html" guid="{06FB737B-5D74-4C3B-98F4-36153CFB2E34}">Rational Rose</a> </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">Relationships</div>
<div class="sectionContent">
<table class="sectionTable" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<th class="sectionTableHeading" scope="row">Related Elements</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../rup/tasks/structure_use_case_model_93D8F44.html" guid="{F7D9D038-B184-43CC-9353-15BA154F87B5}">构造用例模型</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">Main Description</div>
<div class="sectionContent">
<table class="sectionTable" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td class="sectionTableSingleCell"><h3>
    概述
</h3>
<p>
    以下是记录参与者与用例之间的关系时所执行的步骤摘要：
</p>
<ol>
    <li>
        <a href="#Document Actor-Generalizations">记录参与者泛化关系</a>
    </li>
    <li>
        <a href="#Document Include-Relationships Between Use Cases">记录用例之间的包含关系</a>
    </li>
    <li>
        <a href="#Document Extend-Relationships Between Use Cases">记录用例之间的扩展关系</a>
    </li>
    <li>
        <a href="#Document Use-Case Generalizations">记录用例泛化关系</a>
    </li>
</ol>
<p>
    有关用例图的详细信息，请参阅：
</p>
<ul>
    <li>
        <p>
            <img height="16" alt="帮助手册图标" hspace="0" src="./../../../rup/resources/helpbook.gif" width="16" border="0" /> Rational
            Rose 联机帮助中的 <span style="FONT-STYLE: italic">Use-Case Diagrams (Overview)</span> 主题
        </p>
    </li>
    <li>
        <img height="15" alt="手册图标" hspace="0" src="./../../../rup/resources/book.gif" width="16" border="0" /> <span         style="FONT-STYLE: italic">Chapter 4, Introduction to Diagrams</span> 和 <span style="FONT-STYLE: italic">Chapter 7,
        Use-Case Diagrams and Specifications</span>。参考：<i>Using Rational Rose</i>。
    </li>
</ul>
<h3>
    1. <a id="Document Actor-Generalizations" name="Document Actor-Generalizations"></a>记录参与者泛化关系<a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/structure_use_case_model_tm_E88F776C.html" guid="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"><img height="20" alt="回到页首" hspace="0" src="./../../../rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    通过从用例图工具框使用泛化关系绘制工具，您可以在用例图中插入业务参与者之间的泛化关系。一旦创建了关系，您就可以通过在“泛化规约”对话框的“文档”字段中添加文本来描述它。
</p>
<h3>
    2. <a id="Document Include-Relationships Between Use Cases" name="Document Include-Relationships Between Use Cases"></a>记录用例之间的包含关系<a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/structure_use_case_model_tm_E88F776C.html" guid="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"><img height="20" alt="回到页首" hspace="0" src="./../../../rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    要在用例图中创建两个用例之间的包含关系，请首先在两个用例之间创建依赖关系，然后对该依赖关系指定包含构造型。当一个用例使用另一个用例的功能时，您将使用包含构造型。所使用的用例通常包含许多其他用例可能需要或想要的功能。
</p>
<p>
    一旦创建了用例之间的依赖关系，您就可以通过在依赖关系规约的“文档”字段中添加文本来描述该关系。
</p>
<h3>
    3. <a id="Document Extend-Relationships Between Use Cases" name="Document Extend-Relationships Between Use Cases"></a>记录用例之间的扩展关系<a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/structure_use_case_model_tm_E88F776C.html" guid="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"><img height="20" alt="回到页首" hspace="0" src="./../../../rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    要在用例图中创建两个用例之间的扩展关系，请首先在两个用例之间创建依赖关系，然后对该依赖关系指定扩展构造型。您可以使用扩展构造型来表达用例的可选或条件行为。
</p>
<p>
    一旦创建了用例之间的关联，您就可以通过在依赖关系规约的“文档”字段中添加文本来描述该关系。
</p>
<h3>
    4. <a id="Document Use-Case Generalizations" name="Document Use-Case Generalizations"></a>记录用例泛化关系<a class="elementLinkWithUserText" href="./../../../rup/guidances/toolmentors/structure_use_case_model_tm_E88F776C.html" guid="{5A5948AA-9F9A-4752-A337-F0A1845974A7}"><img height="20" alt="回到页首" hspace="0" src="./../../../rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    当一个商业理由提供公共功能时（例如，当您具有为具体用例提供公共功能的抽象用例时），您可以创建两个商业理由之间的泛化关系。
</p>
<p>
    一旦创建了用例之间的泛化关系，您就可以通过在泛化规约的“文档”字段中添加文本来描述该关系。
</p></td>
</tr>
</table>
</div>
<table class="copyright" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="copyright">Copyright &copy; 2008 版权所有 东软集团股份有限公司&nbsp; 联系邮箱:<a href="mailto:tcoe@neusoft.com">tcoe@neusoft.com</a></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script type="text/javascript" language="JavaScript">
				contentPage.onload();
			</script>
</html>
